export let mockData011 = {
  nodes: [
    {
      id: '42dca9b5-0029-4b0b-a7df-740ecba0d804',
      type: 'myTest',
      x: 560,
      y: 330,
      properties: { width: 70, height: 70 },
      text: { x: 560, y: 380, value: '开始节点' },
    },
    {
      id: 'cc2c7313-3608-467e-8c6e-af402f83508d',
      type: 'startNode',
      x: 870,
      y: 330,
      properties: { width: 70, height: 70 },
      text: { x: 870, y: 380, value: '开始节点' },
    },
  ],
  edges: [
    {
      id: '4e274f0b-2228-4c3d-b6c4-2eec142938f6',
      type: 'flow-link',
      properties: {},
      sourceNodeId: '42dca9b5-0029-4b0b-a7df-740ecba0d804',
      targetNodeId: 'cc2c7313-3608-467e-8c6e-af402f83508d',
    },
  ],
}
export let mockData02 = {
  nodes: [
    {
      id: '42dca9b5-0029-4b0b-a7df-740ecba0d804',
      type: 'myTest',
      x: 440,
      y: 340,
      properties: { width: 70, height: 70 },
      text: { x: 460, y: 340, value: '开始' },
    },
    {
      id: '7ca5ed8a-5cab-4f38-839c-a282c1b73746',
      type: 'myEnd',
      x: 1200,
      y: 360,
      properties: {},
      text: { x: 1220, y: 360, value: '结束' },
    },
    {
      id: '2a93ea9d-112f-405e-b1ed-55106f0eca36',
      type: 'mySwitch',
      x: 800,
      y: 260,
      properties: { content: '这个节点是 切换' },
      text: { x: 800, y: 260, value: '切换呀' },
    },
  ],
  edges: [
    {
      id: '6840362c-6444-4c28-8588-d6aaca6fbb8b',
      type: 'flow-link',
      sourceNodeId: '42dca9b5-0029-4b0b-a7df-740ecba0d804',
      targetNodeId: '2a93ea9d-112f-405e-b1ed-55106f0eca36',
      startPoint: { x: 550, y: 340 },
      endPoint: { x: 690, y: 260 },
      properties: {},
      pointsList: [
        { x: 550, y: 340 },
        { x: 650, y: 340 },
        { x: 590, y: 260 },
        { x: 690, y: 260 },
      ],
    },
    {
      id: '70a55d3f-cbbf-4948-9afd-35fb3452533a',
      type: 'flow-link',
      sourceNodeId: '2a93ea9d-112f-405e-b1ed-55106f0eca36',
      targetNodeId: '7ca5ed8a-5cab-4f38-839c-a282c1b73746',
      startPoint: { x: 910, y: 260 },
      endPoint: { x: 1090, y: 360 },
      properties: {},
      text: { x: 1000, y: 310, value: '是11' },
      pointsList: [
        { x: 910, y: 260 },
        { x: 1010, y: 260 },
        { x: 990, y: 360 },
        { x: 1090, y: 360 },
      ],
    },
  ],
}
export let mockData0 = {
  nodes: [
    {
      id: '42dca9b5-0029-4b0b-a7df-740ecba0d804',
      type: 'myTest',
      x: 460,
      y: 80,
      properties: { width: 70, height: 70 },
      text: { x: 480, y: 80, value: '开始' },
    },
    {
      id: 'cc2c7313-3608-467e-8c6e-af402f83508d',
      type: 'startNode',
      x: 800,
      y: 80,
      properties: { width: 70, height: 70 },
      text: { x: 800, y: 130, value: '开始节点' },
    },
    {
      id: '7ca5ed8a-5cab-4f38-839c-a282c1b73746',
      type: 'myEnd',
      x: 1100,
      y: 80,
      properties: {},
      text: { x: 1120, y: 80, value: '结束' },
    },
    {
      id: '38a397ef-f4c5-4a34-b52c-325b7bdf5053',
      type: 'myTest',
      x: 460,
      y: 280,
      properties: { isSelected: true },
      text: { x: 460, y: 280, value: '开始' },
    },
    {
      id: '8f1a9548-5202-4263-9de1-276840f0f27e',
      type: 'mySwitch',
      x: 880,
      y: 260,
      properties: { isSelected: true },
      text: { x: 880, y: 260, value: '切换呀' },
    },
    {
      id: 'f86ce3ff-e6b2-4be2-9a1b-01094ce9abe3',
      type: 'myEnd',
      x: 1280,
      y: 260,
      properties: { isSelected: true },
      text: { x: 1280, y: 260, value: '结束' },
    },
    {
      id: '5dba0c53-4b37-4547-b42b-7b33971619d5',
      type: 'myEnd2',
      x: 880,
      y: 380,
      properties: {},
      text: { x: 880, y: 380, value: '结束2' },
    },
  ],
  edges: [
    {
      id: '6bca9330-2e63-4ac5-addd-e83fc0ca479c',
      type: 'flow-link',
      sourceNodeId: '38a397ef-f4c5-4a34-b52c-325b7bdf5053',
      targetNodeId: '5dba0c53-4b37-4547-b42b-7b33971619d5',
      startPoint: { x: 570, y: 280 },
      endPoint: { x: 770, y: 380 },
      properties: {},
      text: { x: 670, y: 330, value: '否' },
      pointsList: [
        { x: 570, y: 280 },
        { x: 670, y: 280 },
        { x: 670, y: 380 },
        { x: 770, y: 380 },
      ],
    },
    {
      id: '49b78b16-37ea-4606-91e9-b82af9de9174',
      type: 'flow-link',
      sourceNodeId: '38a397ef-f4c5-4a34-b52c-325b7bdf5053',
      targetNodeId: '8f1a9548-5202-4263-9de1-276840f0f27e',
      startPoint: { x: 570, y: 280 },
      endPoint: { x: 770, y: 260 },
      properties: { isSelected: true },
      text: { x: 670, y: 270, value: '是' },
      pointsList: [
        { x: 570, y: 280 },
        { x: 670, y: 280 },
        { x: 670, y: 260 },
        { x: 770, y: 260 },
      ],
    },
    {
      id: '8467ea9c-684f-47a5-8aee-47fd26867484',
      type: 'flow-link',
      sourceNodeId: '8f1a9548-5202-4263-9de1-276840f0f27e',
      targetNodeId: 'f86ce3ff-e6b2-4be2-9a1b-01094ce9abe3',
      startPoint: { x: 990, y: 260 },
      endPoint: { x: 1170, y: 260 },
      properties: { isSelected: true },
      text: { x: 1080, y: 260, value: '是' },
      pointsList: [
        { x: 990, y: 260 },
        { x: 1090, y: 260 },
        { x: 1070, y: 260 },
        { x: 1170, y: 260 },
      ],
    },
    {
      id: '0ea6f69f-6f8f-4d9f-913c-421005ac14af',
      type: 'flow-link',
      sourceNodeId: 'cc2c7313-3608-467e-8c6e-af402f83508d',
      targetNodeId: '7ca5ed8a-5cab-4f38-839c-a282c1b73746',
      startPoint: { x: 835, y: 80 },
      endPoint: { x: 990, y: 80 },
      properties: {},
      pointsList: [
        { x: 835, y: 80 },
        { x: 935, y: 80 },
        { x: 890, y: 80 },
        { x: 990, y: 80 },
      ],
    },
    {
      id: '4e274f0b-2228-4c3d-b6c4-2eec142938f6',
      type: 'flow-link',
      sourceNodeId: '42dca9b5-0029-4b0b-a7df-740ecba0d804',
      targetNodeId: 'cc2c7313-3608-467e-8c6e-af402f83508d',
      startPoint: { x: 570, y: 80 },
      endPoint: { x: 765, y: 80 },
      properties: {},
      pointsList: [
        { x: 570, y: 80 },
        { x: 670, y: 80 },
        { x: 665, y: 80 },
        { x: 765, y: 80 },
      ],
    },
  ],
}

export let mockData = {
  nodes: [
    {
      id: '42dca9b5-0029-4b0b-a7df-740ecba0d804',
      type: 'startNode',
      x: 360,
      y: 330,
      properties: {},
      text: { x: 360, y: 380, value: '开始节点' },
    },
    {
      id: '3e028a29-cc8b-4466-8350-7fa3b4e4d197',
      type: 'dataExtraction',
      x: 640,
      y: 190,
      properties: {},
      text: { x: 640, y: 240, value: '普通节点' },
    },
    {
      id: 'edff9891-b54e-4591-82d2-d511ff9b6d31',
      type: 'dataExtraction',
      x: 640,
      y: 400,
      properties: {},
      text: { x: 640, y: 450, value: '普通节点' },
    },
    {
      id: '154e897f-dacd-4f02-bbee-91d48bd61ae6',
      type: 'dataExtraction',
      x: 810,
      y: 190,
      properties: {},
      text: { x: 810, y: 240, value: '普通节点' },
    },
    {
      id: 'c3efbb9b-72af-4e4b-b4e8-2f0c4a806c5f',
      type: 'dataExtraction',
      x: 810,
      y: 400,
      properties: {},
      text: { x: 810, y: 450, value: '普通节点' },
    },
    {
      id: 'fb2f9e66-cea0-4e62-bb66-0317a6f61716',
      type: 'dataMerge',
      x: 1020,
      y: 310,
      properties: {},
      text: { x: 1020, y: 360, value: '合并节点' },
    },
    {
      id: 'a3b805d1-105d-4cb9-9aa6-e0f96effcd1f',
      type: 'dataExtraction',
      x: 490,
      y: 540,
      properties: {},
      text: { x: 490, y: 590, value: '普通节点' },
    },
    {
      id: 'cc2c7313-3608-467e-8c6e-af402f83508d',
      type: 'startNode',
      x: 500,
      y: 280,
      properties: {},
      text: { x: 500, y: 330, value: '开始节点' },
    },
    {
      id: 'aafa3edd-371a-461b-8b5b-136e8e09c3ff',
      type: 'dataExtraction',
      x: 810,
      y: 540,
      properties: {},
      text: { x: 810, y: 590, value: '普通节点' },
    },
    {
      id: 'd49d3e85-ec7e-4e14-9938-64f8433f7b43',
      type: 'dataMerge',
      x: 1260,
      y: 370,
      properties: {},
      text: { x: 1260, y: 420, value: '合并节点' },
    },
    {
      id: '42633002-00a7-4115-8f51-75d67bde139e',
      type: 'dataExtraction',
      x: 1390,
      y: 370,
      properties: {},
      text: { x: 1390, y: 420, value: '普通节点' },
    },
  ],
  edges: [
    {
      id: '1bd78d17-4943-4bc4-8cc0-a25e4043260b',
      type: 'polyline',
      sourceNodeId: '3e028a29-cc8b-4466-8350-7fa3b4e4d197',
      targetNodeId: '154e897f-dacd-4f02-bbee-91d48bd61ae6',
      startPoint: { x: 671, y: 190 },
      endPoint: { x: 779, y: 190 },
      properties: {},
      pointsList: [
        { x: 671, y: 190 },
        { x: 779, y: 190 },
      ],
    },
    {
      id: '218948ba-95a6-41e4-b3d9-8a6984648bb3',
      type: 'polyline',
      sourceNodeId: 'edff9891-b54e-4591-82d2-d511ff9b6d31',
      targetNodeId: 'c3efbb9b-72af-4e4b-b4e8-2f0c4a806c5f',
      startPoint: { x: 671, y: 400 },
      endPoint: { x: 779, y: 400 },
      properties: {},
      pointsList: [
        { x: 671, y: 400 },
        { x: 779, y: 400 },
      ],
    },
    {
      id: '26bf439e-0d36-41d4-9abd-cd6a45f0a5ac',
      type: 'polyline',
      sourceNodeId: '154e897f-dacd-4f02-bbee-91d48bd61ae6',
      targetNodeId: 'fb2f9e66-cea0-4e62-bb66-0317a6f61716',
      startPoint: { x: 841, y: 190 },
      endPoint: { x: 1020, y: 279 },
      properties: {},
      pointsList: [
        { x: 841, y: 190 },
        { x: 1020, y: 190 },
        { x: 1020, y: 279 },
      ],
    },
    {
      id: '2e7a8b18-381b-4db6-8ebe-e51589ac00f9',
      type: 'polyline',
      sourceNodeId: 'c3efbb9b-72af-4e4b-b4e8-2f0c4a806c5f',
      targetNodeId: 'fb2f9e66-cea0-4e62-bb66-0317a6f61716',
      startPoint: { x: 841, y: 400 },
      endPoint: { x: 1020, y: 341 },
      properties: {},
      pointsList: [
        { x: 841, y: 400 },
        { x: 1020, y: 400 },
        { x: 1020, y: 341 },
      ],
    },
    {
      id: 'fbe9f4e3-d6ba-4635-8fd1-73bd45efd8ea',
      type: 'polyline',
      sourceNodeId: '42dca9b5-0029-4b0b-a7df-740ecba0d804',
      targetNodeId: 'cc2c7313-3608-467e-8c6e-af402f83508d',
      startPoint: { x: 395, y: 330 },
      endPoint: { x: 465, y: 280 },
      properties: {},
      pointsList: [
        { x: 395, y: 330 },
        { x: 430, y: 330 },
        { x: 430, y: 280 },
        { x: 465, y: 280 },
      ],
    },
    {
      id: '316c0787-e708-4f2b-88ef-f424c8296e02',
      type: 'polyline',
      sourceNodeId: '42dca9b5-0029-4b0b-a7df-740ecba0d804',
      targetNodeId: 'a3b805d1-105d-4cb9-9aa6-e0f96effcd1f',
      startPoint: { x: 395, y: 330 },
      endPoint: { x: 459, y: 540 },
      properties: {},
      pointsList: [
        { x: 395, y: 330 },
        { x: 429, y: 330 },
        { x: 429, y: 540 },
        { x: 459, y: 540 },
      ],
    },
    {
      id: 'ab13e163-0cbf-490a-a393-83dd0d40d626',
      type: 'polyline',
      sourceNodeId: 'cc2c7313-3608-467e-8c6e-af402f83508d',
      targetNodeId: 'edff9891-b54e-4591-82d2-d511ff9b6d31',
      startPoint: { x: 535, y: 280 },
      endPoint: { x: 609, y: 400 },
      properties: {},
      pointsList: [
        { x: 535, y: 280 },
        { x: 579, y: 280 },
        { x: 579, y: 400 },
        { x: 609, y: 400 },
      ],
    },
    {
      id: 'db080716-53c6-46a3-8fdd-9588e6be9ded',
      type: 'polyline',
      sourceNodeId: 'cc2c7313-3608-467e-8c6e-af402f83508d',
      targetNodeId: '3e028a29-cc8b-4466-8350-7fa3b4e4d197',
      startPoint: { x: 535, y: 280 },
      endPoint: { x: 609, y: 190 },
      properties: {},
      pointsList: [
        { x: 535, y: 280 },
        { x: 579, y: 280 },
        { x: 579, y: 190 },
        { x: 609, y: 190 },
      ],
    },
    {
      id: '09ae2e2d-3789-457d-ac03-fe63afd55bab',
      type: 'polyline',
      sourceNodeId: 'a3b805d1-105d-4cb9-9aa6-e0f96effcd1f',
      targetNodeId: 'aafa3edd-371a-461b-8b5b-136e8e09c3ff',
      startPoint: { x: 521, y: 540 },
      endPoint: { x: 779, y: 540 },
      properties: {},
      pointsList: [
        { x: 521, y: 540 },
        { x: 779, y: 540 },
      ],
    },
    {
      id: '19dc91b6-fd72-4d1a-8f0f-99e1186af5e4',
      type: 'polyline',
      sourceNodeId: 'fb2f9e66-cea0-4e62-bb66-0317a6f61716',
      targetNodeId: 'd49d3e85-ec7e-4e14-9938-64f8433f7b43',
      startPoint: { x: 1051, y: 310 },
      endPoint: { x: 1260, y: 339 },
      properties: {},
      pointsList: [
        { x: 1051, y: 310 },
        { x: 1081, y: 310 },
        { x: 1081, y: 309 },
        { x: 1260, y: 309 },
        { x: 1260, y: 339 },
      ],
    },
    {
      id: 'ff620ed9-fd71-4419-8829-d633032182ea',
      type: 'polyline',
      sourceNodeId: 'aafa3edd-371a-461b-8b5b-136e8e09c3ff',
      targetNodeId: 'd49d3e85-ec7e-4e14-9938-64f8433f7b43',
      startPoint: { x: 841, y: 540 },
      endPoint: { x: 1260, y: 401 },
      properties: {},
      pointsList: [
        { x: 841, y: 540 },
        { x: 1260, y: 540 },
        { x: 1260, y: 401 },
      ],
    },
    {
      id: '1ad98813-63db-4e52-b618-ec36a8bd72ab',
      type: 'polyline',
      sourceNodeId: 'd49d3e85-ec7e-4e14-9938-64f8433f7b43',
      targetNodeId: '42633002-00a7-4115-8f51-75d67bde139e',
      startPoint: { x: 1291, y: 370 },
      endPoint: { x: 1359, y: 370 },
      properties: {},
      pointsList: [
        { x: 1291, y: 370 },
        { x: 1359, y: 370 },
      ],
    },
  ],
}
